package com.situ.stmall.manager.service;

import com.situ.stmall.manager.entity.User;

public interface UserService {
    //注册
    int reg(String username,String password,String rePassword)throws Exception;
    //登录
    User login(User user)throws Exception;
    //修改密码
    int modifyPwd(String username,String oldPasswod,String newPassword,String rePassword)throws Exception;
    //修改信息
    int edit(User user)throws Exception;
    //修改支付密码
    int modifyPayPwd(String username,String password,String payPassword, String rePassword)throws Exception;
}
